#!/bin/sh
ulimit -t 1
($1 1071 1029 | diff output.1071.1029 - && (echo "1071 1029" >> $2)) &
($1 555 666 | diff output.555.666 - && (echo "555 666" >> $2)) &
($1 678 987 | diff output.678.987 - && (echo "678 987" >> $2)) &
($1 8767 653 | diff output.8767.653 - && (echo "8767 653" >> $2)) &
($1 16777216 512 | diff output.16777216.512 - && (echo "16777216 512" >> $2)) &
wait
exit 0
